/**
 * Created by Administrator on 2017/11/1.
 */
import Vue from 'vue'

export default {
  //收费统计
  loadChargeStatistics(params, callback) {
    Vue.http.get('/statistical/charge.json', {params:params}).then(function (response) {
      callback(response.data);
    });
  },
  //结算中心列表
  payCenterList(params, callback) {
    Vue.http.get('/statistical/settlement/list.json', {params:params}).then(function (response) {
      callback(response.data);
    });
  },
  //提现详情
  payDetails(params, callback) {
    Vue.http.get('/statistical/detail.json', {params:params}).then(function (response) {
      callback(response.data);
    });
  },
  //申请提现计算
  applyCashCompute(callback) {
    Vue.http.get('/statistical/applicationForPresentation.json').then(function (response) {
      callback(response.data);
    });
  },
  //申请提现
  applyCash(callback) {
    Vue.http.get('/statistical/withdrawals.json').then(function (response) {
      callback(response.data);
    });
  },
  //结算中心概括
  payCenterTotal(callback) {
    Vue.http.get('/statistical/settlement.json').then(function (response) {
      callback(response.data);
    });
  },
}
